package com.panshi.job;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

import java.util.List;

public class MT4GenJob implements Runnable {
    @Override
    public void run() {

        List<Record> taskRecords = Db.find("select *  from ot_app_task where task_name='user_info_add'");


        if(taskRecords.size()>0)
        {
            System.out.println(">>>>增加用户信息!!!!!!!收到"+taskRecords.size()+"个新任务");
        }

    }
}
